#pragma once

#include <stdlib.h>

typedef struct node* E;

typedef struct
{
	size_t size;
	size_t capacity;
	E* elements;
} Vector;

// API的声明
void vector_init(Vector* v);
void vector_destroy(Vector* v);

void vector_add(Vector* v, size_t index, E e);
